<template>
	<view class="Tool">
		<view class="card">
			<view class="content" v-for="item in toolArr" :key="item.id">
				<image class="img" :src=item.src mode=""></image>
				<view class="text">
					{{item.text}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "tool",
		data() {
			return {
				toolArr: [{
						id: 1,
						src: "",
						text: "预约"
					},
					{
						id: 2,
						src: "",
						text: "私教"
					},
					{
						id: 3,
						src: "",
						text: "小课"
					},
					{
						id: 4,
						src: "",
						text: "大课"
					}
				],
			};
		}
	}
</script>

<style scoped lang="scss">
	.card {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;

		.content {
			display: flex;
			align-items: center;
			flex-direction: column;
		}

		.img {
			height: 170rpx;
			width: 170rpx;
			border-radius: 50%;
			background-color: #999;
		}
	}
</style>
